.PHONY	: all install clean tags dist doc

all: tags
	${PYTHON_EXE} setup.py build

dist:
	${PYTHON_EXE} setup.py sdist

install: tags
	${PYTHON_EXE} setup.py install

clean:
	rm -Rf build
	rm -f tags

tags:
	ctags -R src || true

doc:
	rm -Rf doc/html
	mkdir doc/html
	${PYTHON_EXE} `which epydoc` \
	  -o doc/html -v --html \
	  meshpy
